<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <head th:replace="common/head"/>
</head>
<body>
<div class="x-body">
    <form class="layui-form" action="/sysUser/updateUserRole">
        <div id="myTree" style="width:400px;border:1px solid black;padding: 10px 0 25px 5px;"></div>
        <button class="layui-btn" style="margin-left:160px;margin-top: 2px" lay-submit lay-filter="submit">提交</button>
    </form>
    <input type="hidden" id="paramId" th:value="${userId}">
    <input type="hidden" id="treeUrl" value="/sysUser/userRoleTree">
</div>
<div th:replace="common/js"></div>
<div th:replace="common/setting"></div>
<script type="text/javascript">
    layui.use('xtree');
</script>
</body>
</html>
